package com.ydd.mqserver;

import org.apache.poi.ss.formula.functions.T;

import java.util.concurrent.Callable;

public class MyThread extends Thread{
   @Override
    public void run() {
       System.out.println("MyThread");
   }


}
 class MyThread1 implements Runnable{
     @Override
     public void run() {

     }
 }
class MyThread2 implements Callable<T> {
    @Override
    public T call() throws Exception {
        return null;
    }
}